package com.data.service.system;

import com.data.domain.report.Bankinfo;
import com.data.josonbean.select.SelectModel;
import com.data.model.BankInfoModel;
import com.data.model.SystemModel;

import java.util.List;

/**
 * Created by silenceholic on 2017/5/2.
 */
public interface BankinfoService {

    List<Bankinfo> getBankinfo(SystemModel systemModel);
    /**
     * 银行信息插入
     * @param bankInfoModel
     * @return
     */
    int insertBankinfo(BankInfoModel bankInfoModel);

    /**
     * 根据id查询
     * @param id
     * @return
     */
    Bankinfo getBankinfoById(int id);

    /**
     * 银行信息修改
     * @param bankInfoModel
     * @return
     */
    int modifyBankinfo(BankInfoModel bankInfoModel ,int id);
    /**
     * 取得银行名称
     */
     List<SelectModel> selectBankname(String name);

     int insertBankinfoByArray(String[] array);


}
